<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>update-userInfo</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/plugins/layui/layui-v2.5.6/layui/css/layui.css">
</head>
<body>
    <script src="${pageContext.request.contextPath}/plugins/layui/layui-v2.5.6/layui/layui.js"></script>
    <script src="${pageContext.request.contextPath}/js/update-userInfo.js"></script>

    <form class="layui-form bg-blue" action="" >
        <div class="layui-form">
            <div class="layui-form-item">
                <label class="layui-form-label">昵称:</label>
                <div class="layui-input-inline">
                    <input type="text" name="othername" required  lay-verify="required" placeholder="请输入昵称" value="${userInfo2.otherName}" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">性别：</label>
                <div class="layui-input-inline">
                    <div class="layui-form-item">
<%--                        <c:set value="0" var="${userInfo.sex}" scope="page"></c:set>--%>
                        <input type="radio" name="sex" value="1" title="男" >
                        <input type="radio" name="sex" value="0" title="女" checked>
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">生日：</label>
                <div class="layui-input-inline">
                    <input type="date" value="">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">手机：</label>
                <div class="layui-input-inline">
                    <input type="text" name="tel" required lay-verify="required" placeholder="请输入手机号" value="${userInfo2.phone}" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">兴趣爱好：</label>
                <div class="layui-input-inline">
                    <p>选择你感兴趣的分类</p>
                    <input type="checkbox" name="" title="写作" checked>
                    <input type="checkbox" name="" title="发呆">
                    <input type="checkbox" name="" title="打游戏">
                    <input type="checkbox" name="" title="蹦迪">
                    <input type="checkbox" name="" title="打球">
                    <input type="checkbox" name="" title="健身">
                    <input type="checkbox" name="" title="逛街">
                    <input type="checkbox" name="" title="敲代码">
                </div>
            </div>

            <div style="margin-top: 15px; width:300px">
                <div class="layui-progress" lay-filter="demo">
                    <div class="layui-progress-bar" lay-percent="0%"></div>
                </div>
            </div>
            <div class="layui-upload-drag" id="test10">
                <i class="layui-icon"></i>
                <p>点击上传，或将文件拖拽到此处</p>
                <div class="layui-hide" id="uploadDemoView">
                    <hr>
                    <img src="" alt="上传成功后渲染" style="max-width: 196px">
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-input-block">
                  <button id="update-btn" class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                  <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                </div>
              </div>
        </div>
    </form>





</body>
</html>